/** 
 * Copyright(C) 2010-2011 <webPrj> LTD. All Rights Reserved.                               
 * Project: webPrj
 * Module ID: <0001>
 * Comments: TODO         
 * JDK version used: <JDK1.6.0_25>                              
 * Author: xiamingxing
 * Create Date：11:27:50
 * Modified By: xiamingxing                              
 * Modified Date: 11:27:50                                  
 * Why & What is modified: <修改原因描述>    
 * Version: V1.0                  
 */
package com.xiamx.platform.exception;

public class BaseException extends Exception {

	private static final long serialVersionUID = 8472509159545623029L;

	protected String errCode;		//错误码
	protected String className;	//异常发生类
	protected String message;		//异常信息
	protected String module;		//异常模块
	protected Exception exception;//异常

	public BaseException() {
		super();
	}

	public BaseException(String errCode, String className, String message,
			String module, Exception exception) {
		super();
		this.errCode = errCode;
		this.className = className;
		this.message = message;
		this.module = module;
		this.exception = exception;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public Exception getException() {
		return exception;
	}

	public void setException(Exception exception) {
		this.exception = exception;
	}
	
}

